package com.itheima.service.impl.cms;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.mapper.cms.CmsPrefrenceAreaMapper;
import com.itheima.pojo.cms.CmsPrefrenceArea;
import com.itheima.service.cms.CmsPrefrenceAreaService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class CmsPrefrenceAreaServiceImpl  implements CmsPrefrenceAreaService {

    @Autowired
    private CmsPrefrenceAreaMapper cmsPrefrenceAreaMapper;
    @Override
    public List<CmsPrefrenceArea> listAll() {
        return cmsPrefrenceAreaMapper.listAll();
    }
}
